<?php

// include './D.php';
// include './C.php';
// include './A.php';
// include './B.php';

function __autoload($classname){

	include './'.$classname.".php";

}


$obj = new Dog();

// echo $obj->hi();

// echo $obj->name;

// $obj1 = new B();

// $obj1->show();

// echo $obj1->name;